package com.huilian.iotbox.data.service;

import com.huilian.iotbox.data.po.ProductParamData;
import com.huilian.iotbox.data.vo.DeviceVo;
import com.huilian.iotbox.data.vo.ProductParamDataVo;

import java.math.BigDecimal;

public interface ProductParamDataCommonService {
    void defaultMainBoardUnderlyingParam(ProductParamDataVo productParamDataVo, StringBuilder dataHex);

    void customYongRuiMainBoardUnderlyingParam(ProductParamDataVo productParamDataVo, StringBuilder dataHex);

    String defaultMainBoardTerminalParam(ProductParamData productParamDataItem, BigDecimal itemValue);

    String customYingPinMainBoardTerminalParam(ProductParamData productParamDataItem, BigDecimal itemValue, Integer setFunCode);

    String getValueHex(ProductParamData productParamData, BigDecimal itemValue, DeviceVo deviceVo, Integer setFunCode);

    void customJiangXinMainBoardUnderlyingParam(ProductParamDataVo productParamDataVo, StringBuilder dataHex);
}
